/* 
 * AndroBOINC - BOINC Manager for Android
 * Copyright (C) 2010, Pavol Michalec
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 * 
 */

package edu.berkeley.boinc.lite;

public class Result {
	public String  name = "";
	public String  wu_name = "";
	public String  project_url = "";
	public int     version_num;
//	public String  plan_class;
	public boolean ready_to_report;
	public boolean got_server_ack;
	public double  final_cpu_time;
	public double  final_elapsed_time;
	public int     exit_status;
	public int     state;
	public long    report_deadline;
	public long    received_time;
	/** actually, estimated elapsed time remaining */
	public double  estimated_cpu_time_remaining;
//	public int     signal;
//	public String  stderr_out;
	public boolean suspended_via_gui;
	public boolean project_suspended_via_gui;
//	public boolean coproc_missing;
//	public boolean gpu_mem_wait;

	// the following defined if active
	public boolean active_task;
	public int     active_task_state;
	public int     app_version_num;
//	public int     slot;
//	public int     pid;
	public int     scheduler_state;
	public long    checkpoint_cpu_time;
	public float   fraction_done;
	public double  current_cpu_time;
	public double  elapsed_time;
//	public double  swap_size;
//	public double  working_set_size_smoothed;
//	public boolean supports_graphics;
//	public int     graphics_mode_acked;
//	public boolean too_large;
//	public boolean needs_shmem;
//	public boolean edf_scheduled;
//	public String  graphics_exec_path;
//	/** only present if graphics_exec_path is */
//	public String  slot_path;
//	public String  resources;

}
